﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReviewSearch.aspx.cs" Inherits="ORS.Web.ReviewSearch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        #form1
        {
            height: 580px;
            margin-left: 0px;
            text-align: left;
        }
        .style1
        {
            width: 101px;
        }
        .style2
        {
            width: 328px;
        }
        #Select1
        {
            height: 155px;
            width: 180px;
        }
        #Select_Interest
        {
            width: 167px;
        }
        .style3
        {
            width: 273px;
        }
        .style4
        {
            height: 65px;
        }
        .style5
        {
            width: 273px;
            height: 65px;
        }
    </style>

    <script type="text/javascript">
        function hasChecked(objName, msg) {
            var box = document.getElementsByName(objName);
            var t = 0;
            for (var j = 0; j < box.length; j++)
            { if (box[j].checked) t = t + 1; }
            if (t == 1)
                return true;
            else
            { window.alert(msg); return false; }
        }
     
     </script>


</head>
<body style="height: 667px">
    <form id="form1" runat="server">
    <br />
    <br />
    <table style="width: 88%; height: 84px; margin-left: 147px;" border="0" 
        cellpadding="0" dir="ltr" frame="hsides" id="Table_Query">
        <tr>
            <td class="style1" rowspan="4">
                <asp:RadioButtonList ID="rbtnqtype" runat="server" Font-Size="Large" 
                    style="margin-left: 0px" Width="122px">
                    <asp:ListItem Value="0">论文题目</asp:ListItem>
                    <asp:ListItem Value="1">作者姓名</asp:ListItem>
                    <asp:ListItem Value="2">研究领域</asp:ListItem>
                </asp:RadioButtonList>
            </td>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                <asp:TextBox ID="tbx_title" runat="server" Width="330px"></asp:TextBox>
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                <asp:TextBox ID="tbx_author" runat="server" Width="100px"></asp:TextBox>
            </td>
            <td class="style3">
                &nbsp;</td>
        </tr>

         <tr>
         <td class="style4">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlData_Interests" DataTextField="name" 
                    DataValueField="interestid" Height="16px">
                    <asp:ListItem Value="1"></asp:ListItem>
                    <asp:ListItem Value="2"></asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlData_Interests" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:DB_ConnectionString %>" 
                    SelectCommand="SELECT * FROM [tb_interest]" 
                    ProviderName="<%$ ConnectionStrings:DB_ConnectionString.ProviderName %>"></asp:SqlDataSource>
             </td>
         <td style="text-align: left" class="style5">
                <asp:Button ID="btnquery" runat="server" Height="25px" Text="查   询" 
                    style="margin-left: 0px" onclick="btnquery_Click" />
&nbsp;&nbsp;
                <asp:Button ID="btnreset" runat="server" Height="25px" Text="重   置" 
                     Width="65px" />
             &nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnreview" runat="server" Height="25px" 
                    Text="浏览稿件" Width="64px" />
             </td>

        </tr>



    </table>
&nbsp;
    <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br />
    &nbsp;<asp:GridView  ID="gvpaper2" runat="server" AutoGenerateColumns="False" 
            EnableModelValidation="True" Width="865px" EmptyDataText="无任何查询记录" 
        style="text-align: center; margin-left: 142px;">
            <Columns>
                <asp:BoundField DataField="tiltle" HeaderText="论文标题" />
                <asp:BoundField DataField="cname" HeaderText="作者" />
                <asp:BoundField DataField="submitdate" HeaderText="提交日期" 
                    DataFormatString="{0:yyyy-MM-dd}" />
                <asp:BoundField DataField="reviewdate" DataFormatString="{0:yyyy-MM-dd}" 
                    HeaderText="审阅日期" />
                <asp:BoundField DataField="reviewstate" HeaderText="审阅结果" />
                <asp:BoundField DataField="reviewcomm" HeaderText="审阅意见" />
                <asp:BoundField DataField="approvestate" HeaderText="终审结果" />
            </Columns>
        </asp:GridView>
    
    </form>
</body>
</html>
